JavaScript
A5.d.date.calendar.generatedateTime Method
Syntax
A5.d.date.calendar.generate.dateTime(date,time)
Arguments
- datestring
The calendar date that was generated by the Date.toCalendar method. This may be a value like "next Tuesday" or "1st Jan 2018".
- timestring
The time that was generated by the Date.toCalendar method. This may be a value like "2:00pm".
Returns
- dateTimestring
The the grammatically correct format of a calendar date-time. For example an input of "next Tuesday" and "2:00pm" would generate "next Tuesday at 2:00pm" by default, the "at" being inserted by this method.
Description
The method used to combine a date and a time into a grammatically correct format.